package org.real.guetshop.pojo.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProductQueryDTO implements Serializable {
    //商品名称
    private String name;

    //商店id
    private Integer storeId;

    //页码
    @NotNull
    private int page;

    //每页显示记录数
    @NotNull
    private int pageSize;

}
